<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改供货合同货物')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-providecontractdetails-edit" th:object="${sysProvidecontractdetails}">
            <input name="provideContractDetailsId" th:field="*{provideContractDetailsId}" type="hidden">
            <!--<div class="form-group">    -->
                <!--<label class="col-sm-3 control-label">供货合同表ID：</label>-->
                <!--<div class="col-sm-8">-->
                    <!--<input name="provideContractId" th:field="*{provideContractId}" class="form-control" type="text">-->
                <!--</div>-->
            <!--</div>-->
            <div class="form-group">    
                <label class="col-sm-3 control-label">货物名称：</label>
                <div class="col-sm-8">
                    <input name="goodName" th:field="*{goodName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">型号：</label>
                <div class="col-sm-8">
                    <input name="model" th:field="*{model}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">主要技术指标：</label>
                <div class="col-sm-8">
                    <input name="indicators" th:field="*{indicators}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">数量：</label>
                <div class="col-sm-8">
                    <input name="number" th:field="*{number}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">中标单价：</label>
                <div class="col-sm-8">
                    <input name="winPrice" th:field="*{winPrice}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">成交单价：</label>
                <div class="col-sm-8">
                    <input name="dealPrice" th:field="*{dealPrice}" class="form-control" type="text">
                </div>
            </div>

        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "system/providecontractdetails";
        $("#form-providecontractdetails-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-providecontractdetails-edit').serialize());
            }
        }
    </script>
</body>
</html>